package com.li.dao;

import com.li.pojo.Member;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface MemberMapper {
    public Member checkAddMember(String name);
    public Member selectOne(int id);
    public List<Member> selectMembers(Map<String,Object> map);
    public long count(Map<String,Object> map);
    public int updateMember(@Param("member") Member member);
    public int addMember(@Param("member") Member member);
    public int deleteMember(List<Integer> ids);
}
